<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<div class="section">
	<div id="message" class="content"></div>
</div>

<div class="section">
	<div class="box">
		<div class="title">
			<h2>Cadastro Base de Dados</h2>
			<div class="hide"></div>
		</div>
		<div class="content nopadding">			
			<form id="formDataSource" action="<c:url value="/datasource/create"/>" method="post">
				<input type="hidden" id="id" name="id" value="${entity.id}" />
				<div class="row">
					<label>Driver</label>
					<div class="rowright"><input type="text" id="driver" name="driver" value="${entity.driver}" /></div>
				</div>
				<div class="row">
					<label>URL</label>
					<div class="rowright"><input type="text" id="url" name="url" value="${entity.url}" /></div>
				</div>
				<div class="row">
					<label>Username</label>
					<div class="rowright"><input type="text" id="username" name="username" value="${entity.username}" /></div>
				</div>
				<div class="row">
					<label>Password</label>
					<div class="rowright"><input type="text" id="password" name="password" value="${entity.password}" /></div>
				</div>
				<div class="row">
					<button id="submit" type="submit" class="medium blue"><span>CRIAR</span></button>
				</div>
			</form>	
		</div>
	</div>
</div>